﻿using Dal;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bll
{
    public class jgbll
    {
        public jgbll(JGname jGname)
        {
            JGname = jGname;
        }

        public JGname JGname { get; }
        public int xadd(Xiamodel xiamodel)
        {
            return JGname.xadd(xiamodel);
        }
        public List<Xiamodel> xshow()
        {
            return JGname.xshow();
        }
        public int jadd(jgmodel jgmodels)
        {
            return JGname.jadd(jgmodels);
        }
        public IQueryable jshow(out int tcount, out int tpage, int pageindex = 1, int pagesize = 2, string? Jgname = "", int? xialaid = null)
        {
            return JGname.jshow(out tcount, out tpage, pageindex, pagesize, Jgname, xialaid);
            
        }
        public int deleted(string id)
        {
            return JGname.deleted(id);
        }
        public jgmodel fantian(int id)
        {
            return JGname.fantian(id);
        }
        public int xiugai(jgmodel jgmodels)
        {
            return JGname.xiugai(jgmodels);
        }
        public int xiugz(string id, int steat)
        {
            return JGname.xiugz(id, steat);
        }
    }
}
